package com.phkj.qdh.bean

import android.os.Parcelable
import com.phkj.qdh.ui.adapter.UploadFileBean
import kotlinx.parcelize.Parcelize

data class DraftBean(
    val id:Int,
    val type: Int,//1基础 2队伍 3执法
    val base: BaseDraftBean?,
    val team: TeamDraftBean?,
    val law: LawDraftBean?,
)

//data class BaseDraftBean()
@Parcelize
data class TeamDraftBean(
    val headBean: LawOrTeamInspectBean?,
    val secondType: String?,
    val secondTypeId: Int?,
    val secondPos: Int?,
    val third: String?,
    val thirdId: Int?,
    val questDetail: String?,
    val imgList: List<String>?,
    val zeren: String?,
    val zerenIds: ArrayList<Int>?,
    val rectificationStatus: Int?,//1 已整改,0未整改
    val date: String?,//1 已整改,0未整改
    val banfa: TeamScoreBean?,
    val remark: String?,
    val time: String
) : Parcelable

@Parcelize
data class LawDraftBean(
    val headBean: LawOrTeamInspectBean,
    val secondType: String?,
    val secondTypeId: Int?,
    val secondPos: Int?,
    val third: String?,
    val thirdId: Int?,
    val questDetail: String?,
    val imgList: List<String>?,
    val fileList: List<UploadFileBean>?,
    val zeren: String?,
    val zerenIds: ArrayList<Int>?,
    val rectificationStatus: Int?,//1 已整改,0未整改
    val date: String?,//1 已整改,0未整改
    val banfa: TeamScoreBean?,
    val remark: String?,
    val time: String
) : Parcelable

@Parcelize
data class BaseDraftBean(
    val headBean: BaseInspectBean?,
    val secondBean: BaseInspectBean?,
    val secondPos: Int?,
    val lastKeyPointTypeId: Int?,
    val keyPointDataBean: KeyPointData?,
    val anyRisk: Int? = null,  //0有风险，1无风险
    val rectification: Int? = null, //0需要整改，1不需要整改
    val remark: String,
    val imgList: List<String>?,
    val userId: List<Int>?,
    val tvUser: String?,
    val eventScoreConfigurationBean: TeamScoreBean?,
    val time: String
) : Parcelable

